<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>留言本</title>
    <link rel="stylesheet" href="./public/css/bootstrap.css">
  </head>

<body>
  <div class="header container">
    <div class="page-header">
      <h1>Example page header <small>Subtext for header</small></h1>
      <a class="btn btn-success" href="/post">发表留言</a>
    </div>
  </div>
  <div class="comments container">
    <ul class="list-group">
      {{each list value index}}
      <li class="list-group-item">{{value.name}}说：{{value.content}} 
        <span class="pull-right">{{value.date}}</span>
      </li>
      {{/each}}
      <!-- <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li>
	  <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li>
	  <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li>
	  <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li>
	  <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li>
	  <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li>
	  <li class="list-group-item">张无忌说：哥牛逼 <span class="pull-right">2018-10-10</span></li> -->
    </ul>
  </div>
</body>
</html>